Skip to content

Fix incorrect print variable for output result in sequential api task, PyTorch Lab 1#194

Open
MrPoll0 wants to merge 1 commit intoMITDeepLearning:masterfrom
MrPoll0:fix/incorrect-print-variable
Open

Fix incorrect print variable for output result in sequential api task, PyTorch Lab 1#194
MrPoll0 wants to merge 1 commit intoMITDeepLearning:masterfrom
MrPoll0:fix/incorrect-print-variable

Conversation

@MrPoll0
Copy link

@MrPoll0 MrPoll0 commented Jun 26, 2025

Previously, the output result for the part where the model uses the Sequential API was printing the y variable, which was calculated for the previous task (OurDenseLayer), instead of the model_output variable which is the one properly calculating the output for this task.

This mistake caused both prints to output the same tensor result, which is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant